#{extends 'profileLayout.html' /}
<div >
<h1>Topics List</h1>
#{if topics}
<ul> #{list items:topics, as:'top'}
<li><a href="@{Application.viewTopicById(top.id)}">${top.title}</a> #{/list}
</ul> #{/if}

<a href ="@{Application.viewProfile()}">Back To Profile</a>